package com.wcards.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("商品表")
public class Goods implements Serializable {
    @TableId("goods_numbers")
    @ApiModelProperty("商品编号")
    private Integer goodsNumbers;
    @ApiModelProperty("商品名称")
    private String goodsName;
    @ApiModelProperty("商品图片")
    private String image;
    @ApiModelProperty("商品介绍")
    private String goodsIntroduce;
    @ApiModelProperty("价格")
    private Double price;
    @ApiModelProperty("库存")
    private Integer inventory;
}
